#include <iostream>
#include <strings>
using namespace std;
int main () {
	char c=534;
	while (c!='c'){
	cout << "Where is the tallest building on earth located?" << endl;
	cout << "Answer A is Switzerland" << endl;
	cout << "Answer B is Los Angeles" << endl;
	cout << "Answer C is Dubai" << endl;
	cout << "Answer D is Beijing" << endl;
	cin >> c;
	switch (c) {
	case 'a':
		cout << "No, try again" << endl;
		break;
	case 'b':
		cout << "No, try again" << endl;
		break;
	case 'c':
		cout << "Correct!" << endl;
		break;
	case 'd':
		cout << "No, try again" << endl;
		break;
		
}
	}
		char a=99;
		while (a!='a'){
	cout << "Who was the first man to land on the moon?" << endl;
	cout << "Answer A: Neil Armstrong" << endl;
	cout << "Answer B: Louis Armstrong" << endl;
	cout << "Answer C: Lance Armstrong" << endl;
	cout << "Answer D: Bill Gates" << endl;
	cin >> a;
	switch (a) {
	case 'a':
		cout << "Correct!" << endl;
		break;
	case 'b':
		cout << "No, try again" << endl;
		break;
	case 'c':
		cout << "No, try again" << endl;
		break;
	case 'd':
		cout << "No, try again" << endl;
		break;
	}
		}
		char d=35;
		while (d!='d'){
	cout << "How old is the oldest living person?" << endl;
	cout << "Answer A: 153" << endl;
	cout << "Answer B: 99" << endl;
	cout << "Answer C: 104" << endl;
	cout << "Answer D: 115" << endl;
	cin >> a;
	switch (a) {
	case 'a':
		cout << "No, try again"<< endl;
		break;
	case 'b':
		cout << "No, try again" << endl;
		break;
	case 'c':
		cout << "No, try again" << endl;
		break;
	case 'd':
		cout << "Correct!" << endl;
		break;
	}
			char a=44;
		while (a!='a'){
	cout << "What is the most popular album of alll time?" << endl;
	cout << "Answer A: Michael Jackson, Thriller" << endl;
	cout << "Answer B: Pink Floyd, Dark Side of the Moon" << endl;
	cout << "Answer C: The Beatles, Abbey Road" << endl;
	cout << "Answer D: ACDC, Back in Black" << endl;
	cin >> a;
	switch (a) {
	case 'a':
		cout << "Correct!"<< endl;
		break;
	case 'b':
		cout << "No, try again" << endl;
		break;
	case 'c':
		cout << "No, try again" << endl;
		break;
	case 'd':
		cout << "No, try again" << endl;
		break;
	}
		}
system("pause");
	return 0;
}